package cn.jf.modules.message.service;

import cn.jf.modules.message.entity.SysMessage;
import cn.jf.modules.message.mapper.SysMessageMapper;
import cn.jf.modules.system.base.service.JeecgServiceImpl;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.dubbo.config.annotation.Service;

/**
 * @Description: 消息
 * @Author: jeecg-boot
 * @Date:  2019-04-09
 * @Version: V1.0
 */
@Service(version = "1.0.0")
public class SysMessageServiceImpl extends JeecgServiceImpl<SysMessageMapper, SysMessage> implements ISysMessageService {

    @Override
    public IPage<SysMessage> getPageList(IPage<SysMessage> page, SysMessage sysMessage) {
        return page.setRecords(this.baseMapper.getPageList(sysMessage));
    }
}
